package com.qf.pojo;

/**
 * @author 孙亚梅
 * @version V1.0
 * @Project javase2203
 * @Package com.qf.pojo
 * @Description:
 * @Date 2022/6/4 21:30
 */
public class Address {

    private  String addr;

    //从写构造方法 ，利用构造方法进行注入
    public  Address(String addr){
        this.addr =addr;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    @Override
    public String toString() {
        return "Address{" +
                "addr='" + addr + '\'' +
                '}';
    }
}
